/* 登录页面带简约背景的整体容器 */
.login-page-clean-bg {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  /* background-color: #f7f9fc; */
  /* 浅色背景作为基础 */
  background-image: url('/src/assets/snow.svg');
}

/* 简约背景图案层 - 使用细微的几何图案 */
.background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(120deg, rgba(193, 193, 193, 0.05) 0%, rgba(193, 193, 193, 0.05) 100%),
    linear-gradient(30deg, rgba(193, 193, 193, 0.05) 0%, rgba(193, 193, 193, 0.05) 100%),
    linear-gradient(90deg, rgba(76, 76, 76, 0.05) 0%, rgba(76, 76, 76, 0.05) 100%),
    linear-gradient(30deg, rgba(76, 76, 76, 0.05) 0%, rgba(76, 76, 76, 0.05) 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%;
  background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  background-repeat: repeat;
  z-index: 1;
}

.log-card {
  width: 600px;
  height: 480px;
  background-image: url('/src/assets/VCG211272902297.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  box-sizing: border-box;
  background-color: #fff !important;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0 !important;
}

/* 登录卡片样式 - 在背景上直接显示 */
.login-card {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left: 0 !important;
  height: 480px;
  box-sizing: border-box;
  position: relative;
  /* 确保卡片在背景之上 */
  z-index: 10;
  /* 确保高于背景层 */
  border-radius: 8px;
  box-shadow: 0 20px 80px 0 rgba(0, 0, 0, 0.08);
  padding: 24px;
  background-color: white;
  /* 不需要透明度，因为背景已经很简约 */
}

.login-header {
  margin-bottom: 24px;
  text-align: center;
}

.login-subtitle {
  color: rgba(0, 0, 0, 0.45);
  /* 柔和的副标题颜色 */
  margin-top: 8px;
}

.login-form {
  max-width: 320px;
  margin: 0 auto;
}

.login-form-forgot {
  float: right;
}

.login-form-button {
  margin-top: 16px;
}

.login-footer {
  text-align: center;
  margin-top: 16px;
  color: rgba(0, 0, 0, 0.45);
}

/* 针对小屏幕设备的调整 */
@media (max-width: 1000px) {
  .login-card {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-left: 1 !important;
    margin: 0 16px;
    /* 增加边距 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* 减小阴影 */
  }

  .log-card {
    display: none;
  }

  .login-form-button {
    margin-top: 12px;
    /* 减小按钮上方间距 */
  }
}

/* 针对超大屏幕的调整 */
@media (min-width: 1600px) {
  .login-card {
    max-width: 400px;
    /* 限制最大宽度 */
  }
}